home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.02 Feb 95 / Yenta / PrefsWindowƒ / CPPPrefsWindow.h < prev   
Encoding:
C/C++ Source or Header  |  1996-04-04  |  993 b   |  48 lines  |  [TEXT/KAHL]

  1. /***************************************************** IMPLEMENTATION
  2.     DATE:    9/26/93
  3.     AUTHOR: Eric R. Rosé
  4.  
  5.     CLASS:  CPPPrefsWindow
  6.     
  7.     SUPERCLASS: CPPWindow
  8.     
  9.         This C++ class manages the NetApp preferences window
  10.     
  11. ********************************************************************/
  12.  
  13. #pragma once
  14.  
  15. #include <CPPWindow.h>
  16. #include "MyGlobals.h"
  17.  
  18. class CPPIntText;
  19. class CPPButton;
  20. class CPPCheckBox;
  21.  
  22. class CPPPrefsWindow : public CPPWindow {
  23. public:
  24.     CPPIntText        *scanRate,
  25.                     *confirmRate;
  26.     CPPCheckBox        *playLogon,
  27.                     *playMessage;
  28.     CPPCheckBox        *doScan,
  29.                     *doConfirm;
  30.     CPPButton        *okButton,
  31.                     *cancelButton;
  32.  
  33.             CPPPrefsWindow (CPPWindowManager *theManager,
  34.                             PrefsData *initData);
  35.             ~CPPPrefsWindow (void);
  36.  
  37.     virtual    char    *ClassName (void);
  38.     
  39.     void    GetDialogData (PrefsData *theData);
  40.  
  41. protected:    
  42.     virtual Boolean    DoUserKey (EventRecord *theEvent);
  43.  
  44. };
  45.  
  46. /*-----------------------------------------------------------------*/
  47.  
  48. Boolean    DoPrefsWindow (PrefsData *initData);